﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WFBSYS.Entity
{
    class TsCustom
    {
        public const int CUSTOM_TYPE_APPLY= 1;
        public const int CUSTOM_TYPE_SALE = 2;
        private int customId;
        private int customType;
        private String customName;
        private String customPerson;
        private String customPhone;
        private String customAddress;
        private String customPs;
        private float customTotal;

        public TsCustom() { }

        public TsCustom(int id, int type, String name,String person, String phone, String address, String ps, float total)
        {
            customId = id;
            customType = type;
            customName = name;
            customPerson = person;
            customPhone = phone;
            customAddress = address;
            customPs = ps;
            customTotal = total;
        }

        public int CustomId {
            get { return customId; }
            set { customId = value; }
        }

        public int CustomType
        {
            get { return customType; }
            set { customType = value; }
        }

        public String CustomName
        {
            get { return customName; }
            set { customName = value; }
        }

        public String CustomPerson
        {
            get { return customPerson; }
            set { customPerson = value; }
        }

        public String CustomPhone
        {
            get { return customPhone; }
            set { customPhone = value; }
        }

        public String CustomAddress

        {
            get { return customAddress; }
            set { customAddress = value; }
        }

        public String CustomPs
        {
            get { return customPs; }
            set { customPs = value; }
        }

        public float CustomTotal
        {
            get { return customTotal; }
            set { customTotal = value; }
        }

    }
}
